dojo.provide("com.otupia.messageHandler");

com.otupia.messageHandler ={
		name : "com.otupia.messageHandler",
		handle : function(message)
		{
			if(!message || !message.data || !message.data.module)
			{
				throw {
					message : "No user Info found!",
					srcObject : this.name
				};
				
				return false;
			}
			
			var tempParam = new Array();
			for(prop in message.data.param)
			{
				tempParam[prop] = message.data.param[prop];
			}
			dojo.publish(message.data.module,tempParam);
		}
};